const TokenKey = 'USER_TOKEN'
const UserAdmin = 'USER_ADMIN'
const cost ="COST"
export function getToken() {
  return uni.getStorageSync(TokenKey)
}

export function getUserAdmin() {
  return uni.getStorageSync(UserAdmin)
}

export function setUserAdmin(data) {
  return uni.setStorageSync(UserAdmin,data)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}
export function removeUserAdmin() {
  return uni.removeStorageSync(UserAdmin)
}
